Skip to content

Allow larger swap partition when possible.#167

Open
cvlc12 wants to merge 1 commit into
systemd:mainfrom
cvlc12:swap_size
Open

Allow larger swap partition when possible.#167
cvlc12 wants to merge 1 commit into
systemd:mainfrom
cvlc12:swap_size

Conversation

@cvlc12

@cvlc12 cvlc12 commented May 30, 2026

Copy link
Copy Markdown
Contributor

On my 1TB disk, the current repart.d configuration files only allow for a 4G swap partiition, and hibernation fails most of the time for lack of disk space.

This change allows for about 5% of the disk to be allocated to swap, up to 16G which should cover most cases. The full 16G should be allocated roughly for disks larger 300G.

@cvlc12

cvlc12 commented Jun 3, 2026

Copy link
Copy Markdown
Contributor Author

Although admittedly this is a hack, and optimal swap space doesn't only depend on disk size. Ideally this should be configurable during installation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant